package com.csu.mall.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csu.mall.product.entity.CategoryBrandRelationEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 品牌分类关联
 * 
 * @author zhenhuanli
 * @email 743879362@qq.com
 * @date 2022-09-16 11:42:54
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {

    void batchUpdateBrandName(@Param("brandId") Long brandId, @Param("name") String name);

    void batchUpdateCategoryName(@Param("catId") Long catId,@Param("name") String name);
}
